Web example: Configuring a time range

Network configuration

As shown in Figure-1, configure a service object group on the device to allow Host 1 to communicate with Host 2 through ICMPv6 in a specific time period.

Figure-1 Network diagram

Software versions used

This configuration example was created and verified on E9900 of the F5000-AI-55-G device.

Restrictions and guidelines

When you configure object groups, follow these restrictions and guidelines:

Procedure

  1. Assign IPv6 addresses to interfaces and add the interfaces to security zones.

    # On the top navigation bar, click Network.

    # From the navigation pane, select Interface Configuration > Interfaces.

    # Click the Edit icon for GE 1/0/1.

    # In the dialog box that opens, configure the interface:

    1. Select the Trust security zone.

    2. On the IPv6 Address tab, enter the IP address and mask of the interface. In this example, enter 20:1:1::1/112.

    3. Click OK.

    # Add GE 1/0/2 to the Untrust security zone and set its IP address to 30:1:1::1/112 in the same way you configure GE 1/0/1.

  2. Create a service object group.

    # On the top navigation bar, click Objects.

    # From the navigation pane, select Object Groups > Service Object Groups.

    # Click Create.

    # In the dialog box that opens, configure the service object group:

    1. Enter a group name. In this example, enter test-fa.

    2. Click Add.

      Figure-2 Create a service object group

    3. In the dialog box that opens, configure a service object.

      • Select object Protocol name.

      • Select type ICMPv6.

    4. Click OK.

      Figure-3 Create an object

    5. On the Create Service Object Group page, click OK.

  3. Create a time range.

    # On the top navigation bar, click Object.

    # From the navigation pane, select Object Groups > Time Ranges.

    # Click Create.

    # In the dialog box that appears, enter name test-time and then click Create for Periodic time range.

    # In the dialog box that appears, configure the time range:

    • Set the start time to 08:10.

    • Set the end time to 17:10.

    • Select Monday, Tuesday, Wednesday, Thursday, and Friday.

    # Click OK.

    Figure-4 Configure a time range

    # In the Create Time Range page, click OK.

  4. Create a security policy from zone Trust to zone Untrust.

    # On the top navigation bar, click Policies.

    # From the navigation pane, select Security Policies > Security Policies.

    # Click Create.

    # In the dialog box that appears, configure a security policy:

    • Enter policy name test-time.

    • Select source zone Trust.

    • Select destination zone Untrust.

    • Select type IPv6.

    • Select action Permit.

    • Select service test-fa.

    • Select time range test-time.

    # Click OK.

Verifying the configuration

# Verify that you can ping Host 2 from Host 1 successfully in the time period specified by the time range.

C:\Users\abc> ping 30:1:1::10

Pinging 30.1.1.10 with 32 bytes of data:

Reply from 30.1.1.10: bytes=32 time<1ms TTL=254

Reply from 30.1.1.10: bytes=32 time<1ms TTL=254

Reply from 30.1.1.10: bytes=32 time<1ms TTL=254

Reply from 30.1.1.10: bytes=32 time<1ms TTL=254

Ping statistics for 30.1.1.10:

Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),

Approximate round trip times in milli-seconds:

Minimum = 0ms, Maximum = 0ms, Average = 0ms

# Verify that you cannot ping Host 2 from Host 1 and the corresponding session does not exist at any time beyond the time period specified by the time range.